package com.hckj.jianzhijia.utils;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by 赵奇隆 on 2015-10-31.
 */
public class DateUtils {

    public static String getDateStringFromDate(Date date){
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
        String dateString  = simpleDateFormat.format(date);
        return dateString;
    }


}
